package k8s_agent

import (
	devcontainer_api_v1 "code.gitea.io/gitea/modules/devstar_devcontainer/k8s_agent/api/v1"
	"k8s.io/apimachinery/pkg/runtime/schema"
)

// groupVersionResource 用于描述 CRD，供 dynamic Client 交互使用
var groupVersionResource = schema.GroupVersionResource{
	Group:    devcontainer_api_v1.GroupVersion.Group,
	Version:  devcontainer_api_v1.GroupVersion.Version,
	Resource: "devcontainerapps",
}

var groupVersionKind = schema.GroupVersionKind{
	Group:   devcontainer_api_v1.GroupVersion.Group,
	Version: devcontainer_api_v1.GroupVersion.Version,
	Kind:    "DevcontainerApp",
}
